package com.liferay.service.impl;

import java.util.List;

import com.liferay.dao.ClassDao;
import com.liferay.dao.impl.ClassDaoImpl;
import com.liferay.model.Classes;
import com.liferay.service.ClassService;

public class ClassServiceImpl implements ClassService {

	public ClassDao classDao;
	
	public ClassServiceImpl() {
		classDao = new ClassDaoImpl();
	}
	
	@Override
	public List<Classes> getListClassByFaculty(long fkFaculty) {
		return classDao.getListClassByFaculty(fkFaculty);
	}

	@Override
	public boolean deleteClass(Classes cla) {
		return classDao.deleteClass(cla);
	}

	@Override
	public boolean updateClass(Classes cla) {
		return classDao.updateClass(cla);
	}

	@Override
	public boolean addClass(Classes cla) {
		return classDao.addClass(cla);
	}

}
